<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
    <link rel="stylesheet" href="/static/lib/layuiadmin/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="/static/lib/layuiadmin/style/admin.css" media="all">
    <script type="text/javascript" src="/static/lib/layuiadmin/layui/layui.js"></script>
    <script type="text/javascript" src="../../common/jquery-3.3.1.min.js"></script>
    <script type="text/javascript" src="../../common/portal.js"></script>
    <script type="text/javascript" src="../../common/common.js"></script>
    <script type="text/javascript" src="sysPortalEdit.js"></script>
</head>
<body style="width:100%;height:100%;margin:0px;padding:0px;">
<div class="mini-layout" style="width:100%;height:100%;">
    <div region="north" height="80px" style="border:1px;width:98%;" showHeader="false" showCollapseButton="false" showSplit="false">
        <div class="mini-toolbar" style="margin-top:5px;">
            <a class="mini-button" iconCls="icon-add" plain="true" onClick="addPortalComponent();">新增portal组件</a>
            <span class="separator"></span>
            <a class="mini-button" iconCls="icon-save" plain="true" onclick="saveData()">保存</a>
        </div>
        <form id="form">
            <input class='mini-Hidden sysPortal' name='portalZoneView.portalId' id='portalId'/>
            <table class="Detailtable" style="width:100%;table-layout:fixed;" cellSpacing="0" cellPadding="0">
                <tr style="height:0px;">
                    <td width="80px"></td>
                    <td width="33%"></td>
                    <td width="80px"></td>
                    <td width="33%"></td>
                    <td width="80px"></td>
                    <td width="34%"></td>
                </tr>
                <tr>
                    <td class="DetailSpanTD">标题(<font color="red">*</font>)</td>
                    <td>
                        <input id='portalTitle' name='portalZoneView.portalTitle'  required='true' class='mini-textbox sysPortal' style="width:100%;" maxLength="50">
                    </td>
                    <td class="DetailSpanTD">URL</td>
                    <td>
                        <input id='portalUrl' class='mini-textbox sysPortal' name='portalZoneView.portalUrl' style="width:100%;" value="" maxLength="50" onkeyup="this.value=this.value.replace(/[\u4e00-\u9fa5]/g,'')">
                    </td>
                    <td class="DetailSpanTD">区域</td>
                    <td class='tdRight'>
                        <input id='portalZone' class='mini-textbox sysPortal' name='portalZoneView.portalZone' class='mini-textbox' style="width:100%;" value="33%,34%,33%" maxLength="50" onkeyup="this.value=this.value.replace(/[\u4e00-\u9fa5]/g,'')">
                    </td>
                </tr>
            </table>
        </form>
    </div>
    <div title="center" region="center" splitSize="0" style="width:100%;height:100%;border:0px;">
        <div id="portalcontent" class="mini-fit" style="margin-top:5px;height:100%">

        </div>
    </div>
</div>
</body>
</html>